package com.dykj.fireFighting.api.base.maintenance.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 维修记录表
 * @Author JacksonTu
 * @Date 2021-07-30 16:13:33
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "维修记录表")
@TableName("repair_record")
public class RepairRecordVo extends Model<RepairRecordVo> {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@ApiModelProperty(value = "id")
	@TableId
	private String id;
	/**
	 * 紧急维保记录id
	 */
	@ApiModelProperty(value = "紧急维保记录id")
	@TableField("urgent_maintenance_id")
	private String urgentMaintenanceId;
	/**
	 * 维修人员
	 */
	@ApiModelProperty(value = "维修人员")
	@TableField("repair_man")
	private String repairMan;
	/**
	 * 维修人员电话
	 */
	@ApiModelProperty(value = "维修人员电话")
	@TableField("repair_man_phone")
	private String repairManPhone;
	/**
	 * 维修项目
	 */
	@ApiModelProperty(value = "维修项目")
	@TableField("overhaul_code")
	private String overhaulCode;
	/**
	 * 维修部位
	 */
	@ApiModelProperty(value = "维修部位")
	@TableField("overhaul_content_code")
	private String overhaulContentCode;
	/**
	 * 维修状态 0-已修好，1-未修好
	 */
	@ApiModelProperty(value = "维修状态 0-已修好，1-未修好")
	private String status;
	/**
	 * 现场描述
	 */
	@ApiModelProperty(value = "现场描述")
	private String describes;
	/**
	 * 现场照片
	 */
	@ApiModelProperty(value = "现场照片")
	@TableField("picture_path")
	private String picturePath;
	/**
	 * 隐患（维修完成）整改有效时间
	 */
	@ApiModelProperty(value = "隐患（维修完成）整改有效时间")
	@TableField("hidden_danger_time")
	private Integer hiddenDangerTime;
	/**
	 * 整改是否有效
	 */
	@ApiModelProperty(value = "整改是否有效")
	@TableField("is_effective")
	private Integer isEffective;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 删除标识(0未删 1已删)
	 */
	@ApiModelProperty(value = "删除标识(0未删 1已删)")
	@TableField("is_del")
	private Integer isDel;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	@TableField("create_date")
	private Date createDate;
	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人")
	@TableField("create_by")
	private String createBy;

	private String enterpriseName;

	private String overhaulCodeName;

	private String overhaulContentCodeName;

}
